/*
 * @Author: cmd 
 * @wechat: cmd_develop 
 * @qq群: 790373986 
 * @Date: 2021-01-06 17:44:22 
 * @Last Modified by: cmd
 * @Last Modified time: 2021-01-06 17:59:23
 * @Description: 
 */



import user_declare from "./orc/orc_declare/user_declare";

const {ccclass, property} = cc._decorator;

@ccclass
export default class NewClass extends cc.Component {

   
    onLoad () {        
        // orc.orc_sound.preload(); 
        orc.orc_data.memory_data.token = "1e18e4d177e76e4caba6a80f06548b21";
        
        console.log('11');

        let body =[];
        body['gameId'] = 1000;
        orc.orc_net.http_post(user_declare.login,body).then((res)=>{
            console.log('res:',res);

        });
        
    }

    start () {

    }    

    btn_package(){
        console.log('btn_package');
        orc.orc_sound.play_effect('2',false,1);

        console.log('123');

        console.log('123')

        

        


    }

    // update (dt) {}
}
